package GameScript.center.action;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import GameScript.center.entiy.Card;
import GameScript.center.service.MakeCardService;

@RestController
public class MakeCardAction {
	@Autowired MakeCardService cardService; 
	
	@RequestMapping("/makeCard")	
	public String insertAll(){
			Card card=new Card();
			card.setCardNo("11222");
			cardService.insertAll(card);
			return card.toString();
	}
}
